package j05bianyi;

import java.io.FileNotFoundException;
import java.io.FileReader;

public class J1 {
    public static void main(String[] args) {
//        System.out.println(10/0);
        //编译是异常
        try {
            FileReader fs = new FileReader("hlm.txt");
        }catch (Exception e){
            e.printStackTrace();
        }
        System.out.println("==end==");
    }
}

class J2{
    public static void main(String[] args) throws Exception {
//        try {
//            f1();
//        }catch (Exception e){
//            e.printStackTrace();
//        }

        f1();
        System.out.println("==end==");
    }

    public static void f1() throws FileNotFoundException,ArithmeticException {
//        FileReader fs = new FileReader("hlm.txt");

    }
}
